home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 2
/
Deutsche Edition 2.iso
/
mac
/
POWERMAC
/
C64
/
SOURCE
/
Modes.h
< prev
next >
Wrap
Text File
|
1994-06-06
|
379b
|
10 lines
#define ImmediateByte() (ByteAt(pc))
#define ZeroPageAddr() (ByteAt(pc))
#define ZeroPageXAddr() (255&(x+ByteAt(pc)))
#define ZeroPageYAddr() (255&(y+ByteAt(pc)))
#define IndirectXAddr() (WordAt(255&(ByteAt(pc)+x)))
#define IndirectYAddr() (WordAt(ByteAt(pc))+y)
#define AbsoluteAddr() (WordAt(pc))
#define AbsoluteXAddr() (WordAt(pc)+x)
#define AbsoluteYAddr() (WordAt(pc)+y)